﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DuanGiuaKy
{
    public partial class frm_administrator_main : Form
    {
        public frm_administrator_main()
        {
            InitializeComponent();
        }
        
        private void quanlyTaiKhoanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlTaiKhoan qlTK = new ctrlU_adm_qlTaiKhoan();
            panel.Controls.Clear();
            panel.Controls.Add(qlTK);
            qlTK.Show();
        }

        private void quanlyGiangVienToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlGiangVien qlGV = new ctrlU_adm_qlGiangVien();
            panel.Controls.Clear();
            panel.Controls.Add(qlGV);
            qlGV.Show();
        }

        private void quanlySinhVienToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlSinhVien qlSV = new ctrlU_adm_qlSinhVien();
            panel.Controls.Clear();
            panel.Controls.Add(qlSV);
            qlSV.Show();
        }

        private void qlKhoaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlKhoa qlKhoa = new ctrlU_adm_qlKhoa();
            panel.Controls.Clear();
            panel.Controls.Add(qlKhoa);
            qlKhoa.Show();
        }

        private void qlLopToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlLop qlLop = new ctrlU_adm_qlLop();
            panel.Controls.Clear();
            panel.Controls.Add(qlLop);
            qlLop.Show();
        }

        private void qlChuongTrinhDaoTaoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlCTDT qlCTDT = new ctrlU_adm_qlCTDT();
            panel.Controls.Clear();
            panel.Controls.Add(qlCTDT);
            qlCTDT.Show();
        }

        private void qlMonHocToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlMonHoc qlMH = new ctrlU_adm_qlMonHoc();
            panel.Controls.Clear();
            panel.Controls.Add(qlMH);
            qlMH.Show();
        }

        private void qlPhongHocToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ctrlU_adm_qlPhongHoc qlPH = new ctrlU_adm_qlPhongHoc();
            panel.Controls.Clear();
            panel.Controls.Add(qlPH);
            qlPH.Show();
        }

        private void qlLopHocPhanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ctrlU_adm_LopHocPhan qlLHP = new ctrlU_adm_LopHocPhan();
            panel.Controls.Clear();
            panel.Controls.Add(qlLHP);
            qlLHP.Show();
        }
    }
}
